<div class="modal fade" id="my-confirm">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title">您确定要:</h4>
            </div>
            <div class="modal-body">
                <span id="my-confirm-content"></span>
            </div>
            <div class="modal-footer">
                <button type="button" name="focus" class="btn btn-default" onclick="uncertainty()" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" onclick="confirmed()">确定</button>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="my-alert">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title"><span id="my-alert-title" style="color: red;"></span></h4>
            </div>
            <div class="modal-body">
                <span id="my-alert-content"></span>
                <span id="my-login-a" style="display: none;"> <a href="/login">跳转登录页</a> </span>
            </div>
            <div class="modal-footer">
                <button type="button" name="focus" class="btn btn-primary" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>